package com.bobi.ecofavor.service;

import com.bobi.ecofavor.model.domain.Goods;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 商品 服务类
 * </p>
 *
 * @author wenyuan
 * @since 2023-10-21
 */
public interface GoodsService extends IService<Goods> {

    List<Goods> getGoodsByStoreId(Integer storeId);

    void recoverStock(Integer orderId, Integer goodsNum);

    Goods getGAndSByGoodsId(Integer id);

    Double getPriceByGoodsId(Integer id);
}
